<!DOCTYPE HTML>
<html>
<head>
    <title>数据集管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="../assets/css/page-min.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="../assets/js/bui.js"></script>
    <script type="text/javascript" src="../js/techMgr.js"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <form id="searchForm" class="form-horizontal span24">
            <div class="row">
                <div class="control-group span8">
                    <label class="control-label">店面编号：</label>
                    <div class="controls">
                        <input type="text" class="control-text" name="datasetId" data-rules="{required:false,sid:0}">
                    </div>
                </div>
                <div class="control-group span8">
                    <label class="control-label">店面名称：</label>
                    <div class="controls">
                        <input type="text" class="control-text" name="datasetName"  data-rules="{required:false,sid:0}">
                    </div>
                </div>
                <div class="span3 offset2">
                    <button type="button" id="btnSearch" class="button button-primary">搜索</button>
                </div>
                <div id="searchBtn" class="control-group" style="float: left;padding-right: 20px;"></div>
                <div id="addBtn" class="control-group" style="float: left;padding-right: 20px;"></div>
                <div id="deleteBtn" class="control-group"></div>
            </div>
        </form>
    </div>
    <div class="span18" style="text-align:center;margin: 0 auto;float: none;width: 100%">
        <div id="grid"></div>
    </div>
</div>
<!-- 初始隐藏 dialog内容 -->
<div id="content" class="hide">
    <form id="J_Form" action="/tech/add/" class="form-horizontal" enctype="multipart/form-data" method="post">
        <div class="control-group">
            <label class="control-label"><s>*</s>店面名称：</label>
            <div class="controls">
                <label>
                    <input name="name" type="text" class="input-large" data-rules="{required : true}" data-value="aaa"
                           data-messages="{required:'店面名称不能为空'}">
                </label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>简述：</label>
            <div class="controls" id="modelDiv">
                <textarea style="height:20px;width: 400px;" name="desc" id="desc" rows="2" cols="10" data-rules="{required : true}"
                          data-messages="{required:'简述不能为空'}"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>店面图片：</label>
            <div class="controls">
                <input type="file" name="headImg">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>地址：</label>
            <div class="controls" id="dsDiv">
                <input type="text" id="address" name="address" data-rules="{required : true}"
                       data-messages="{required:'地址不能为空'}">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>手机号:</label>
            <div class="controls" id="hisDsDiv">
                <input type="text" id="tel" name="tel" data-rules="{required : true}"
                       data-messages="{required:'手机号不能为空'}">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><s>*</s>固定电话:</label>
            <div class="controls" id="fsDiv">
                <input type="text" id="phone" name="phone" data-rules="{required : true}"
                       data-messages="{required:'固定电话不能为空'}">
            </div>
        </div>
    </form>
</div>
</div>
</body>
</html>  